MongoDB
PHP Manual

MongoDB::dropCollection

(PECL mongo >=0.9.0)

MongoDB::dropCollectionDrops a collection

Descripción

public array MongoDB::dropCollection ( mixed $coll )

Lista de parámetros

coll

MongoCollection or name of collection to drop.

Valores retornados

Returns the database response.


MongoDB
PHP Manual